<%@ page contentType="text/html;charset=utf8"%>
博客首页：${sessionScope.user.username}
<!-- 以下显示博客列表 -->
<table id=grid
	style="BORDER-TOP-WIDTH: 0px; FONT-WEIGHT: normal; BORDER-LEFT-WIDTH: 0px; BORDER-LEFT-COLOR: #cccccc; BORDER-BOTTOM-WIDTH: 0px; BORDER-BOTTOM-COLOR: #cccccc; WIDTH: 100%; BORDER-TOP-COLOR: #cccccc; FONT-STYLE: normal; BACKGROUND-COLOR: #cccccc; BORDER-RIGHT-WIDTH: 0px; TEXT-DECORATION: none; BORDER-RIGHT-COLOR: #cccccc"
	cellSpacing=1 cellPadding=2 rules=all border=0>
	<tr
		style="FONT-WEIGHT: bold; FONT-STYLE: normal; BACKGROUND-COLOR: #eeeeee; TEXT-DECORATION: none">
		<td width=10%>序号</td>
		<td width=20%>分类</td>
		<td width=40%>标题</td>
		<td width=10%>点击次数</td>
		<td width=20%>操作</td>
	</tr>
	<c:forEach var="blog" items="${listBlog}" varStatus="status">
		<tr
			style="FONT-WEIGHT: normal; FONT-STYLE: normal; BACKGROUND-COLOR: white; TEXT-DECORATION: none">
			<td>${status.count }</td>
			<td>${blog.title }</td>
			<td>${blog.category }</td>
			<td>${blog.createTime }</td>
			<td><a
				href="${pageContext.request.contextPath}/client/BlogClientServlet?op=viewBlog&id=${blog.id}"
				target="_blank">预览</a> <a
				href="${pageContext.request.contextPath}/manager/BlogServlet?op=viewBlog&id=${blog.id}">查看</a>
				<a
				href="${pageContext.request.contextPath}/manager/BlogServlet?op=deleteBlog&id=${blog.id}">删除</a>
			</td>
		</tr>
	</c:forEach>
	<tr>
		<td colspan="5">总计有<c:out value="${listBlog.size()}" />条信息
		</td>
	</tr>
</table>